﻿/*
COPYRIGHT (C) 2009 EPISERVER AB

THIS FILE IS PART OF REMOTE PAGE PROVIDER FOR EPISERVER CMS.
REMOTE PAGE PROVIDER FOR EPISERVER CMS IS FREE SOFTWARE: YOU CAN REDISTRIBUTE IT AND/OR MODIFY IT UNDER THE TERMS OF THE GNU LESSER GENERAL PUBLIC LICENSE VERSION v2.1 AS PUBLISHED BY THE FREE SOFTWARE FOUNDATION.

REMOTE PAGE PROVIDER FOR EPISERVER CMS IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU LESSER GENERAL PUBLIC LICENSE FOR MORE DETAILS.
YOU SHOULD HAVE RECEIVED A COPY OF THE GNU LESSER GENERAL PUBLIC LICENSE ALONG WITH REMOTE PAGE PROVIDER FOR EPISERVER CMS]. IF NOT, SEE <HTTP://WWW.GNU.ORG/LICENSES/>.
*/
using System;
using System.Collections.Generic;
using System.Text;
using System.ServiceModel;

namespace EPiServer.Labs.RemoteProvider
{
    public class ChannelFactoryEventArgs <T> : EventArgs
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="ChannelFactoryEventArgs&lt;T&gt;"/> class.
        /// </summary>
        /// <param name="channelFactory">The channel factory.</param>
        public ChannelFactoryEventArgs(ChannelFactory<T> channelFactory)
        {
            this.ChannelFactory = channelFactory;
        }

        /// <summary>
        /// Gets or sets the channel factory.
        /// </summary>
        /// <value>The channel factory.</value>
        public ChannelFactory<T> ChannelFactory
        {
            get;
            set;
        }

    }
}
